package io.renren.modules.generator.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.modules.generator.dao.SalaryinfoDao;
import io.renren.modules.generator.entity.SalaryinfoEntity;
import io.renren.modules.generator.service.SalaryinfoService;



@Service("salaryinfoService")
public class SalaryinfoServiceImpl implements SalaryinfoService {
	@Autowired
	private SalaryinfoDao salaryinfoDao;
	
	@Override
	public SalaryinfoEntity queryObject(String salaryno){
		return salaryinfoDao.queryObject(salaryno);
	}
	
	@Override
	public List<SalaryinfoEntity> queryList(Map<String, Object> map){
		return salaryinfoDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return salaryinfoDao.queryTotal(map);
	}
	
	@Override
	public void save(SalaryinfoEntity salaryinfo){
		salaryinfoDao.save(salaryinfo);
	}
	
	@Override
	public void update(SalaryinfoEntity salaryinfo){
		salaryinfoDao.update(salaryinfo);
	}
	
	@Override
	public void delete(String salaryno){
		salaryinfoDao.delete(salaryno);
	}
	
	@Override
	public void deleteBatch(String[] salarynos){
		salaryinfoDao.deleteBatch(salarynos);
	}
	
}
